package me.landery.modules.sinco.service.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import me.landery.base.BaseDTO;
import me.landery.base.BaseEntity;

import javax.persistence.Column;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * @Author cc.w
 * @Date 2022/6/7 22:44
 * @Version 1.0
 */
@Getter
@Setter
public class RechargeDto extends BaseDTO implements Serializable {
    @NotNull(groups = BaseEntity.Update.class)
    private Long id;
    private UserSmallDto user;
    private Double balance;
    private Date time;
//    @NotBlank
//    private String order_num;
    private Integer rechargeState; //用户充值状态
    private String rechargeType; //用户充值方式

    private String detail; //用户充值方式

    @NotBlank
    private String tradeNo; //支付宝交易号

    @NotBlank
    private String outTradeNo; //商户订单号
}
